home *** CD-ROM | disk | FTP | other *** search
- Path: news.itmel.bhp.com.au!usenet
- From: Chris Kuan <kuan.chris.ch@bhp.com.au>
- Newsgroups: comp.lang.c
- Subject: Re: routine for yesterday's date
- Date: Sun, 31 Mar 1996 13:55:23 -0800
- Organization: BHP Information Technology
- Message-ID: <315EFF4B.26E0@bhp.com.au>
- References: <315c4d0f.19874776@ottnews.shl.com> <1996Mar30.043002.19054@sq.com> <Dp3B56.FKI@alisa.org>
- NNTP-Posting-Host: 134.18.242.60
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- John J. Rushford wrote:
-
- >
- > long ticks
- > struct tm * dt;
- >
- > time(&ticks);
- >
- > /* 86400 seconds in a day */
- > ticks -= 86400
- >
-
- What about Daylight Saving?
-
- ================================================================================
- Chris Kuan : Email kuan.chris.ch@bhp.com.au
- Systems Integration Services : Voice +61 42 75 5657
- BHP Information Technology, Wollongong Region : Fax +61 42 75 5500
- ================================================================================
-